package hflyeer.o2o.biz.service;

import java.io.File;

import hflyeer.o2o.model.dto.ShopExecution;
import hflyeer.o2o.model.entity.Shop;

public interface ShopService {

	/**
	 * 添加店铺
	 * 
	 * @param shop
	 * @param img  店铺图片
	 * @return ShopExecution
	 */
	ShopExecution addShop(Shop shop, File img);

	/**
	 * 修改店铺
	 * 
	 * @param shop
	 * @param img  店铺图片
	 * @return ShopExecution
	 */
	ShopExecution editShop(Shop shop, File img);

	/**
	 * 获取店铺列表
	 * 
	 * @param shopCondition 符合店铺的条件
	 * @param pageNum       页号
	 * @param pageSize      每页条数
	 * @return
	 */
	ShopExecution getShopList(Shop shopCondition, int pageNum, int pageSize);
}
